package com.mdd.admin.service;

import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.validate.DifferentiateBrandCreateValidate;
import com.mdd.admin.validate.DifferentiateBrandUpdateValidate;
import com.mdd.admin.validate.DifferentiateBrandSearchValidate;
import com.mdd.admin.vo.DifferentiateBrandListedVo;
import com.mdd.admin.vo.DifferentiateBrandDetailVo;
import com.mdd.common.core.PageResult;

/**
 * 品牌管理服务接口类
 * @author LikeAdmin
 */
public interface IDifferentiateBrandService {

    /**
     * 品牌管理列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<DifferentiateBrandListedVo>
     */
    PageResult<DifferentiateBrandListedVo> list(PageValidate pageValidate, DifferentiateBrandSearchValidate searchValidate);

    /**
     * 品牌管理详情
     *
     * @author LikeAdmin
     * @param id 主键ID
     * @return DifferentiateBrandDetailVo
     */
    DifferentiateBrandDetailVo detail(String id);

    /**
     * 品牌管理新增
     *
     * @author LikeAdmin
     * @param createValidate 参数
     */
    void add(DifferentiateBrandCreateValidate createValidate);

    /**
     * 品牌管理编辑
     *
     * @author LikeAdmin
     * @param updateValidate 参数
     */
    void edit(DifferentiateBrandUpdateValidate updateValidate);

    /**
     * 品牌管理删除
     *
     * @author LikeAdmin
     * @param id 主键ID
     */
    void del(String id);

}
